﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WJP.Domain
{
    /// <summary>
    /// 实体列表接口
    /// </summary>
    public interface IEntityList : IList, ICollection, IEnumerable, IDirtyAware
    {
        /// <summary>
        /// 
        /// </summary>
        new int Count { get; }

        /// <summary>
        /// 获取或设置指定索引处的元素
        /// </summary>
        /// <param name="index"></param>
        /// <returns></returns>
        new Entity this[int index] { get;set; }
    }
}
